package org.jeecg.modules.stOrder.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 食堂订单
 * @Author: jeecg-boot
 * @Date:   2020-06-01
 * @Version: V1.0
 */
@ApiModel(value="ht_st_order对象", description="食堂订单")
@Data
@TableName("hq_st_order")
public class HtStOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private String orderno;
	/**客户编号*/
	@Excel(name = "客户编号", width = 15)
    @ApiModelProperty(value = "客户编号")
    private String customerid;
	/**客户手机*/
	@Excel(name = "客户手机", width = 15)
    @ApiModelProperty(value = "客户手机")
    private String mobile;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15, dicCode = "order_status")
    @Dict(dicCode = "order_status")
    @ApiModelProperty(value = "订单状态")
    private String status;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
    @ApiModelProperty(value = "合计金额")
    private String mony;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**预约时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预约时间")
    private Date orderTime;

    /**预约餐点*/
    @ApiModelProperty(value = "预约餐点")
//    @Dict(dicCode = "food_way")
    private String foodWay;

    /**食堂*/
    @Excel(name = "食堂", width = 15)
    @ApiModelProperty(value = "食堂")
    @Dict(dictTable = "hq_st_st", dicText = "name", dicCode = "id")
    private String shitId;

    @Excel(name = "营区", width = 15)
    @ApiModelProperty(value = "营区")
    @Dict(dicCode = "ying_qu")
    private String yingqId;

    @Excel(name = "窗口", width = 15)
    @ApiModelProperty(value = "窗口")
    @Dict(dictTable = "hq_st_chuangk", dicText = "name", dicCode = "id")
    private String chuangkId;

    @Dict(dicCode = "pay_way")
    String payWay;
}
